]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/dwellClick: Remove unused return value
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Oct 2025 17:42:54 +0000 (18:42 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 31 Oct 2025 17:58:44 +0000 (17:58 +0000)
The method is never used as source function, so there is no reason
to return SOURCE_REMOVE.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3946>

js/ui/status/dwellClick.js

index 9e4f4754ad1979cacb477963b198ed290bf338fa..f05ed2a4f5bd18453976415bdb7cf4aed3c1b4dd 100644 (file)
@@ -1,6 +1,5 @@
 import Clutter from 'gi://Clutter';
 import Gio from 'gi://Gio';
-import GLib from 'gi://GLib';
 import GObject from 'gi://GObject';
 import St from 'gi://St';
 
@@ -65,8 +64,6 @@ class DwellClickIndicator extends PanelMenu.Button {
         this.visible =
           this._a11ySettings.get_boolean(KEY_DWELL_CLICK_ENABLED) &&
            this._a11ySettings.get_string(KEY_DWELL_MODE) === DWELL_MODE_WINDOW;
-
-        return GLib.SOURCE_REMOVE;
     }
 
     _addDwellAction(mode) {